<?php

class myUser extends sfGuardSecurityUser
{
  public function getId()
  {
    return $this->getGuardUser()->getId();
  }

  public function getTestList()
  {
    return Doctrine_Core::getTable('Test')->listByUserId($this->getId());
  }

  public function getPoint()
  {
    return $this->getGuardUser()->getPoint();
  }
  public function setMoney($money)
  {
    return $this->getGuardUser()->setPoint($money);
  }
}
